package com.qf.iostream;

import java.io.File;
import java.io.FilenameFilter;

public class MyFileFilter {
	
	
	FilenameFilter filenameFilter = new FilenameFilter() {
		
		@Override
		public boolean accept(File dir, String name) {
		
			if(name.endsWith(".txt")) 					
				return true;							
			return false;
		}
		
	};

	
	
	

}
